//
//  TagCloudView.h
//  Task Views
//
//  Created by Chris Karr on 3/3/09.
//  Copyright 2009 Chris J. Karr. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "TaskManager.h"

@interface TagCloudView : NSView 
{
	IBOutlet NSArrayController * tasks;
	IBOutlet TaskManager * taskManager;

	NSMutableArray * textViews;
	NSArray * textDefs;
	NSView * lastView;

	IBOutlet NSWindow * settings;
	
	id lastClick;
	
	NSTimer * timer;
	
	BOOL finishRefresh;
	
	NSUInteger tasksVisible;
	
	// Color mapper
	
	IBOutlet NSTextField * substring;
	IBOutlet NSColorWell * colorWell;
}

- (IBAction) settings:(id) sender;
- (IBAction) closeSettings:(id) sender;
- (IBAction) addColor:(id) sender;

- (IBAction) refreshView:(id) sender;

@end
